package mredis

// Options
const OPT_SERIALIZER        = 1;
const OPT_PREFIX            = 2;
const OPT_READ_TIMEOUT      = 3;
const OPT_SCAN              = 4;
const OPT_SLAVE_FAILOVER    = 5;


// Cluster options
const FAILOVER_NONE         = 0;
const FAILOVER_ERROR        = 1;
const FAILOVER_DISTRIBUTE   = 2;

// SCAN options
const SCAN_NORETRY          = 0;
const SCAN_RETRY            = 1;


//Serializers
const SERIALIZER_NONE       = 0;
const SERIALIZER_GO         = 1;
const SERIALIZER_IGBINARY   = 2;


// Multi
const ATOMIC                = 0;
const MULTI                 = 1;
const PIPELINE              = 2;

// Type
const REDIS_NOT_FOUND       = 0;
const REDIS_STRING          = 1;
const REDIS_SET             = 2;
const REDIS_LIST            = 3;
const REDIS_ZSET            = 4;
const REDIS_HASH            = 5;

// Reply

const REDIS_REPLY_OK 		= '+';
const REDIS_REPLY_ERROR 	= '-';
const REDIS_REPLY_INT 		= ':';
const REDIS_REPLY_ARRAY 	= '*';
const REDIS_REPLY_STRING 	= '$'





